﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CutAways.Modeling
{
	[Serializable]
	public struct Vertex2D
	{
		float x, y;

		public static Vertex2D Empty = new Vertex2D(0f, 0f);

		public float X
		{
			get { return x; }
			set { x = value; }
		}

		public float Y
		{
			get { return y; }
			set { y = value; }
		}

		public Vertex2D(float x, float y)
		{
			this.x = x; this.y = y;
		}
	}
}
